package com.eshop.modules.user.service;

import com.eshop.common.service.BaseService;
import com.eshop.modules.user.domain.UserBill;
import com.eshop.modules.user.service.dto.UserBillQueryCriteria;
import com.eshop.modules.user.service.dto.YxUserBillDto;
import com.eshop.modules.user.vo.BillVo;
import com.eshop.modules.user.vo.UserBillQueryVo;
import java.io.IOException;
import java.util.List;
import java.util.Map;
import javax.servlet.http.HttpServletResponse;
import org.springframework.data.domain.Pageable;

public interface UserBillService extends BaseService<UserBill> {
    int cumulativeAttendance(Long l);

    void download(List<YxUserBillDto> list, HttpServletResponse httpServletResponse) throws IOException;

    void expend(Long l, String str, String str2, String str3, double d, double d2, String str4);

    double getBrokerage(int i);

    List<BillVo> getUserBillList(int i, int i2, long j, int i3);

    void income(Long l, String str, String str2, String str3, double d, double d2, String str4, String str5);

    List<YxUserBillDto> queryAll(UserBillQueryCriteria userBillQueryCriteria);

    Map<String, Object> queryAll(UserBillQueryCriteria userBillQueryCriteria, Pageable pageable);

    Map<String, Object> spreadOrder(Long l, int i, int i2);

    List<UserBillQueryVo> userBillList(Long l, String str, int i, int i2);

    double yesterdayCommissionSum(Long l);
}
